﻿@* This has to be name TextEdit because Razor(not Blazor) still doesn't support case sensitive components. *@
@inherits DBlazor.Base.BaseTextEdit
@if ( !ComponentMapper.HasRegistration( this ) )
{
    <input ref="ElementRef" type="@Type" class="@ClassMapper.Class" placeholder="@Placeholder" disabled="@IsDisabled" readonly="@IsReadonly" maxlength="@MaxLength" value="@Text" onchange="@HandleOnChange" oninput="@HandleOnInput" />
    @ChildContent
    @Feedback
}
else
{
    @RenderCustomComponent()
}